package com.coderman.commonreport.core.service;

import com.coderman.commonreport.core.beans.ConverterFieldBean;
import com.coderman.commonreport.core.beans.ExportFieldBean;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author fanchunshuai
 * @Date 2019/10/29 15
 * @Description:
 * 批量map转换
 */
@Component
public interface IMapBatchConverter extends IBatchConverter {

    /**
     * 批量转换
     * @param resultDataMapList  底层返回的结果数据集
     * @param metaFieldMap       数据注解模型中的元数据
     * @param filterFieldBean    过滤上下文对象
     */
    void convertBatchFieldData(List<Map<Integer, String>> resultDataMapList, Map<Integer, ExportFieldBean> metaFieldMap, ConverterFieldBean filterFieldBean) throws Exception;

}
